Moderate: Subscription Asset Manager 1.2.1 update

Synopsis

Moderate: Subscription Asset Manager 1.2.1 update

Type/Severity

Security Advisory: Moderate

Topic

Red Hat Subscription Asset Manager 1.2.1, which fixes several security
issues, multiple bugs, and adds various enhancements, is now available.

The Red Hat Security Response Team has rated this update as having moderate
security impact. Common Vulnerability Scoring System (CVSS) base scores,
which give detailed severity ratings, are available for each vulnerability
from the CVE links in the References section.

Description

Red Hat Subscription Asset Manager acts as a proxy for handling
subscription information and software updates on client machines.

The latest packages for Subscription Asset Manager include a number of security
fixes:

When a Subscription Asset Manager instance is created, its configuration
script automatically creates an RPM of the internal subscription service
CA certificate. However, this RPM incorrectly created the CA certificate
with file permissions of 0666. This allowed other users on a client system
to modify the CA certificate used to trust the remote subscription server.
All administrators are advised to update and deploy the subscription
service certificate on all systems which use Subscription Asset Manager
as their subscription service. This procedure is described in:
https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Subscription_Asset_Manager/1.2/html/Installation_Guide/sect-Installation_Guide-Administration-Upgrading_Subscription_Asset_Manager.html
(CVE-2012-6116)

Manifest signature checking was not implemented for early versions of
Subscription Asset Manager. This meant that a malicious user could edit
a manifest file, insert arbitrary data, and successfully upload the edited
manifest file into the Subscription Asset Manager server. (CVE-2012-6119)

Ruby's documentation generator had a flaw in the way it generated HTML
documentation. When a Ruby application exposed its documentation
on a network (such as a web page), an attacker could use a specially-
crafted URL to open an arbitrary web script or to execute HTML code
within the application's user session. (CVE-2013-0256)

A timing attack flaw was found in the way rubygem-rack and
ruby193-rubygem-rack processed HMAC digests in cookies. This flaw could aid
an attacker using forged digital signatures to bypass authentication
checks. (CVE-2013-0263)

A flaw in rubygem-json allowed remote attacks by creating different types
of malicious objects. For example, it could initiate a denial of service
(DoS) attack through resource consumption by using a JSON document to
create arbitrary Ruby symbols, which were never garbage collected. It
could also be exploited to create internal objects which could allow a SQL
injection attack. (CVE-2013-0269)

A flaw in ActiveRecord in Ruby on Rails allowed remote attackers to
circumvent attribute protections and to insert their own crafted requests
to change protected attribute values. (CVE-2013-0276)

HTML markup was not properly escaped when filling in the username field in
the Notifications form of the Subscription Asset Manager UI. This meant
that HTML code used in the value was then applied in the UI page when the
entry was viewed. This could have allowed malicious HTML code to be
entered. The field value is now validated and any HTML tags are escaped.
(CVE-2013-1823)

These updated packages also include bug fixes and enhancements:

  • Previously, no SELinux policy for the subscription service was included
    with the Subscription Asset Manager packages. The candlepin-selinux package
    is now included with SELinux policies for the subscription server.
    (BZ#906901)
  • When attempting to use the subscription service's CA certificate to
    validate a manifest during import, the comparison failed. The upstream
    subscription service which generated the manifest is a different service
    than the local subscription service; thus, they have different CA
    certificates. This caused importing a manifest to fail with the error
    'archive failed signature'. This has been fixed so that the proper
    certificate is used for verification. (BZ#918778)

All users of Subscription Asset Manager are recommended to update to the
latest packages.

Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

Affected Products

  • Red Hat Enterprise Linux Server 6 x86_64

Fixes

  • BZ - 906207 - CVE-2012-6116 Candlepin: bootstrap RPM deploys CA certificate file with mode 666
  • BZ - 906901 - SAM installation is missing Candlepin SELinux policy
  • BZ - 907820 - CVE-2013-0256 rubygem-rdoc: Cross-site scripting in the documentation created by Darkfish Rdoc HTML generator / template
  • BZ - 908613 - CVE-2012-6119 Candlepin: Re-enable manifest signature checking
  • BZ - 909029 - CVE-2013-0269 rubygem-json: Denial of Service and SQL Injection
  • BZ - 909071 - CVE-2013-0263 rubygem-rack: Timing attack in cookie sessions
  • BZ - 909528 - CVE-2013-0276 rubygem-activerecord/rubygem-activemodel: circumvention of attr_protected
  • BZ - 918778 - Katello-configure overwrites candlepin-upstream-ca.crt, breaking manifest import
  • BZ - 918784 - CVE-2013-1823 Katello: Notifications page Username XSS
  • BZ - 922190 - Thumbslug can't read cert v3

CVEs

References